﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Diploma.Models.OrderDiplom>" %>
<div style="margin: 20px;">
    <% using (Html.BeginRouteForm("Default", new { action = "GenerateExcel", controller = "OrderDiplom", orderId = Model.Id }, FormMethod.Post)) { %>
        <input type="submit" value="Сгенерировать/Получить Excel варинат" />
    <% } %>
</div>
